package com.ct.application.goods.convert;

import com.ct.application.goods.model.vo.GoodsSeckillVO;
import com.ct.application.goods.model.vo.GoodsVO;
import com.ct.goods.orm.Goods;
import com.ct.goods.orm.GoodsSeckill;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper(componentModel = "spring")
public interface GoodsConvert {

    List<GoodsVO> toGoodsVOList(List<Goods> goodsList);
    List<GoodsSeckillVO> toGoodsSeckillVOList(List<GoodsSeckill> goodsSeckillList);
}
